package ca.newcommerce.youtube.data
{

    public class AbstractData extends Object
    {

        public function AbstractData()
        {
            return;
        }// end function

        protected function fromObj(param1:Object, param2:String) : String
        {
            if (param1[param2] == null)
            {
                return "";
            }
            if (param1[param2] as String != null)
            {
                return param1[param2];
            }
            return param1[param2].$t;
        }// end function

    }
}
